package bancosys.tec.persist.persister;

import bancosys.tec.persist.Persistable;

/**
 * A stateless persister capable of handling any entity's persistence operations
 * 
 * @author lundberg
 */
public interface StatelessPersister {

    /**
     * Saves an entity
     * 
     * @param entity entity
     */
    void save(Persistable entity);

    /**
     * Removes an entity
     * 
     * @param entity entity
     */
    void remove(Persistable entity);
}
